import request from '@/utils/request'

// 获取设备模型列表
export function getEquipmentModels(data) {
    return request({
        url: '/api/System/EquipmentModel',
        method: 'get',
        params: data
      })
}

// 添加设备模型
export function addEquipmentModel(data) {
    return request({
        url: '/api/System/EquipmentModel',
        method: 'post',
        params: data
    })
}

// 修改设备模型
export function updateEquipmentModel(data) {
    return request({
        url: '/api/System/EquipmentModel',
        method: 'put',
        params: data
    })
}

// 删除设备模型
export function deleteEquipmentModel(data) {
    return request({
        url: '/api/System/EquipmentModel',
        method: 'delete',
        params: data
    })
}